<%@ include file="/en/jsp/static.jsp" %>
<jsp:include page="/en/jsp/header.jsp" flush="true"/>
<SCRIPT LANGUAGE="Javascript" type="text/javascript">
  function changePassword() {
    validFlag = true;
    with (document.UserForm) {
        if (NEW_PASSWORD.value != CONFIRM_PASSWORD.value) {
          alert("The New Password and Confirmation Password must be the same");
          validFlag = false;
        } else if (NEW_PASSWORD.value.length < 6) {
          alert("Passwords must be 6 characters or more");
          validFlag = false;
        }

        if (validFlag) {
          action = "<%=BoxStatic.servletDir%>ChangePasswdAction"
          submit();
        }
        }
  }
</SCRIPT>


<table width="100%" height=26 align=middle border=0 cellpadding=0 cellspacing=0 bgcolor="#f4f4f4" style="font-size:16px;color:#d05000">
<tr><td>
    &nbsp;<img src="<%=BoxStatic.imageDir%>itemball.jpg" width=14 height=15 border=0 align="absmiddle">
    <b><%=boxName%> - Change Password</b>
</td></tr>
</table>
<br>


  <FORM METHOD="POST" NAME="UserForm">

    <DIV><TABLE ALIGN="center" BGCOLOR="#336633" BORDER="0" CELLPADDING="1" CELLSPACING="0" WIDTH="98%">
    <TR><TD class="bg_darkgreen">
      <TABLE ALIGN="center" BGCOLOR="#336633" BORDER="0" CELLPADDING="0" CELLSPACING="5" WIDTH="100%">
      <TR><TD class="bg_darkgreen">
        <p class="white"><b>&nbsp;Change Password</b></p>
      </TD></TR>
      </TABLE>
      <TABLE ALIGN="center" BGCOLOR="#f6f6f6" BORDER="0" CELLPADDING="10" CELLSPACING="0" WIDTH="100%" HEIGHT="100%">
      <TR><TD class="bg_lightgray" COLSPAN="2"></TD></TR>
      <TR><TD class="bg_lightgray">
        <p><b>New Password</b></p>
        <TD class="bg_lightgray">
        <INPUT TYPE="password" SIZE="20" NAME="NEW_PASSWORD">
        </TD>
      </TR>
      <TR><TD class="bg_lightgray">
        <p><b>Confirm Password</b></p>
        <TD class="bg_lightgray">
        <INPUT TYPE="password" SIZE="20" NAME="CONFIRM_PASSWORD">
        </TD>
      </TR>
      <TD class="bg_lightgray" COLSPAN="2">
        <HR NOSHADE size="1">
         <DIV>
          <A HREF="javascript: changePassword()"><IMG src="<%=BoxStatic.imageDir%>hbeam_btn_submit.gif" width="110" height="20" border="0"></A>
          <A HREF="<%=BoxStatic.jspDir%>main.jsp"><IMG src="<%=BoxStatic.imageDir%>hbeam_btn_cancel.gif" width="110" height="20" border="0"></A></A><BR>
         </DIV>
      </TD></TR>
      </TABLE>
    </TD></TR></TABLE>
    </DIV>
  </FORM>
<jsp:include page="/en/jsp/footer.jsp" flush="true"/>
